using System.Collections.Generic;

namespace HIS.Utils {

    public class NavigationCustom : KeanuMvc.Reference.ITreeNode<NavigationCustom> {

        #region Fields
        private NavigationCustom _parent;
        private IList<NavigationCustom> _children;
        #endregion

        public int Id { get; set; }
        public string Name { get; set; }
        public string Slug { get; set; }
        public int? PageId { get; set; }
        public string Url { get; set; }
        public int? GroupId { get; set; }
        public int? Order { get; set; }
        public System.Collections.Generic.IList<NavigationCustom> Children {
            get {
                return _children;
            }
            set {
                _children = value;
            }
        }
        public NavigationCustom Parent {
            get {
                return _parent;
            }
            set {
                _parent = value;
            }
        }
    }
}